﻿using System;
using System.Collections.Generic;

namespace housingsafety.server.Models
{
    /// <summary>
    /// 商业-场所-消防安全
    /// </summary>
    public class PlaceCommercialFireDto
    {
        public string Id { get; set; }
        public string PlaceName { get; set; }
        public string Location { get; set; }
        public string Contact { get; set; }
        public string HouseId { get; set; }
        public string Yhcsbh { get; set; }
        /// <summary>
        /// 隐患等级(1-严重隐患;2-无隐患;3-一般隐患)
        /// </summary>
        public int? Level { get; set; }
        /// <summary>
        /// 0-未排查,1-排查中,20-已排查无隐患,21-已排查有隐患
        /// </summary>
        public int? Pczt { get; set; }
        public double? BusinessArea { get; set; }
        public string SpecificPurpose { get; set; }
        public bool? UseElectricBicycle { get; set; }
        public bool? UseBottledLiquefiedGas { get; set; }
        public bool? UseStackedItems { get; set; }
        public bool? UseBurglarMesh { get; set; }
        public bool? UseCeiling { get; set; }
        public bool? IsCompletelyIsolated { get; set; }
        public bool? UseFlammableMaterials { get; set; }
        public bool? UnauthorizedElectricalConnect { get; set; }
        public bool? NotEnoughExits { get; set; }
        public bool? FireServiceDamaged { get; set; }
        public bool? UseStoreDangerousGoods { get; set; }
        public bool? ThreatenSafetyFireHazards { get; set; }
        public List<string> UseElectricBicyclePhotos { get; set; }
        public List<string> UseBottledLiquefiedGasPhotos { get; set; }
        public List<string> UseStackedItemsPhotos { get; set; }
        public List<string> UseBurglarMeshPhotos { get; set; }
        public List<string> UseCeilingPhotos { get; set; }
        public List<string> IsCompletelyIsolatedPhotos { get; set; }
        public List<string> UseFlammableMaterialsPhotos { get; set; }
        public List<string> UnauthorizedElectricalConnectPhotos { get; set; }
        public List<string> NotEnoughExitsPhotos { get; set; }
        public List<string> FireServiceDamagedPhotos { get; set; }
        public List<string> UseStoreDangerousGoodsPhotos { get; set; }
        public List<string> ThreatenSafetyFireHazardsPhotos { get; set; }
        public int? EscapeStairsNum { get; set; }
        public int? FirstExitNum { get; set; }
        public double? FirstFloorArea { get; set; }
        public int? SmokeAlarmNum { get; set; }
        public int? SimpleSprinklerSystemNum { get; set; }
        public bool? UseFlammableInsulationMaterials { get; set; }
        public bool? UseFlammableDangerousGoods { get; set; }
        public bool? AboveThreeFloorSelf { get; set; }
        public List<string> UseFlammableInsulationMaterialsPhotos { get; set; }
        public List<string> UseFlammableDangerousGoodsPhotos { get; set; }
        public List<string> AboveThreeFloorSelfPhotos { get; set; }
        public string FireSaferSign { get; set; }
        public string FireInspectorSign { get; set; }

        public DateTime CreateOn { get; set; }

        public DateTime? ModifiedOn { get; set; }

        public string CheckMind { get; set; }

        public List<string> CheckPhotos { get; set; }

        /// <summary>
        /// 隐患问题数量【消防】
        /// </summary>
        public int? NumyhwtXf { get; set; }
    }

    /// <summary>
    /// 商业-场所-综合
    /// </summary>
    public class PlaceCommercialIntegrationDto
    {
        public string Id { get; set; }
        public string PlaceName { get; set; }
        public string Location { get; set; }
        public string Householder { get; set; }
        public string Contact { get; set; }
        public string HouseId { get; set; }
        public string Yhcsbh { get; set; }
        /// <summary>
        /// 0-未排查,1-排查中,20-已排查无隐患,21-已排查有隐患
        /// </summary>
        public int? Pczt { get; set; }
        public bool? ChongDianVillage { get; set; }
        /// <summary>
        /// 市级/区级
        /// </summary>
        public int? Level { get; set; }
        public string Security { get; set; }
        public string SecurityRemediation { get; set; }
        public string IllegalConstruction { get; set; }
        public string IllegalConstructionRemediation { get; set; }
        public string InvadeOccupyStreet { get; set; }
        public string InvadeOccupyStreetRemediation { get; set; }
        public string SafeProduction { get; set; }
        public string SafeProductionRemediation { get; set; }
        public string NoLicense { get; set; }
        public string NoLicenseRemediation { get; set; }
        public string IntegrationInspectorSign { get; set; }

        public string BuildingAddress { get; set; }
        public string ActualPerson { get; set; }
        public string ActualPersonPhone { get; set; }
        public string MerchantName { get; set; }

        /// <summary>
        /// 隐患问题数量【公安】
        /// </summary>
        public int? NumyhwtGa { get; set; }
        /// <summary>
        /// 隐患等级[公安](1-严重隐患;2-无隐患;3-一般隐患)
        /// </summary>
        public int? YhlxGa { get; set; }

        public DateTime CreateOn { get; set; }

        public DateTime? ModifiedOn { get; set; }
    }

    /// <summary>
    /// 商业-场所-消防安全
    /// </summary>
    public class PlaceCommercialFireCheckDto
    {
        /// <summary>
        /// 是否排查记录
        /// </summary>
        public bool IsPcData { get; set; }
        public string Id { get; set; }
        public string PlaceName { get; set; }
        public string Location { get; set; }
        public string Contact { get; set; }
        public string HouseId { get; set; }
        public string Yhcsbh { get; set; }
        /// <summary>
        /// 隐患等级(1-严重隐患;2-无隐患;3-一般隐患)
        /// </summary>
        public int? Level { get; set; }
        /// <summary>
        /// 0-未排查,1-排查中,20-已排查无隐患,21-已排查有隐患
        /// </summary>
        public int? Pczt { get; set; }
        public double? BusinessArea { get; set; }
        public string SpecificPurpose { get; set; }
        public bool? UseElectricBicycle { get; set; }
        public bool? UseBottledLiquefiedGas { get; set; }
        public bool? UseStackedItems { get; set; }
        public bool? UseBurglarMesh { get; set; }
        public bool? UseCeiling { get; set; }
        public bool? IsCompletelyIsolated { get; set; }
        public bool? UseFlammableMaterials { get; set; }
        public bool? UnauthorizedElectricalConnect { get; set; }
        public bool? NotEnoughExits { get; set; }
        public bool? FireServiceDamaged { get; set; }
        public bool? UseStoreDangerousGoods { get; set; }
        public bool? ThreatenSafetyFireHazards { get; set; }
        public List<string> UseElectricBicyclePhotos { get; set; }
        public List<string> UseBottledLiquefiedGasPhotos { get; set; }
        public List<string> UseStackedItemsPhotos { get; set; }
        public List<string> UseBurglarMeshPhotos { get; set; }
        public List<string> UseCeilingPhotos { get; set; }
        public List<string> IsCompletelyIsolatedPhotos { get; set; }
        public List<string> UseFlammableMaterialsPhotos { get; set; }
        public List<string> UnauthorizedElectricalConnectPhotos { get; set; }
        public List<string> NotEnoughExitsPhotos { get; set; }
        public List<string> FireServiceDamagedPhotos { get; set; }
        public List<string> UseStoreDangerousGoodsPhotos { get; set; }
        public List<string> ThreatenSafetyFireHazardsPhotos { get; set; }
        public int? EscapeStairsNum { get; set; }
        public int? FirstExitNum { get; set; }
        public double? FirstFloorArea { get; set; }
        public int? SmokeAlarmNum { get; set; }
        public int? SimpleSprinklerSystemNum { get; set; }
        public bool? UseFlammableInsulationMaterials { get; set; }
        public bool? UseFlammableDangerousGoods { get; set; }
        public bool? AboveThreeFloorSelf { get; set; }
        public List<string> UseFlammableInsulationMaterialsPhotos { get; set; }
        public List<string> UseFlammableDangerousGoodsPhotos { get; set; }
        public List<string> AboveThreeFloorSelfPhotos { get; set; }
        public string FireSaferSign { get; set; }
        public string FireInspectorSign { get; set; }

        public DateTime CreateOn { get; set; }

        public DateTime? ModifiedOn { get; set; }

        public string CheckMind { get; set; }

        public List<string> CheckPhotos { get; set; }

        /// <summary>
        /// 隐患问题数量【消防】
        /// </summary>
        public int? NumyhwtXf { get; set; }
    }
}
